package com.example.pre.tools.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

/*
 * 系统配置文件
 */
@Component
@PropertySource(value = "classpath:config/systemConfig.properties", encoding = "UTF-8")
public class SystemConfig {
	@Value("${system.name}")
	private String systemName; // 项目名称

	public String getSystemName() {
		return systemName;
	}

	public void setSystemName(String systemName) {
		this.systemName = systemName;
	}

}
